﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HEnemyGun : HGun
{
    public float duraion = 1;

    public override void Fire()
    {
        if(CanFire(lastFireTime))
        {
            lastFireTime = Time.time;

            for (int i = 0; i < firePoints.Length; i++)
            {
                CreateBullet(firePoints[i]);
            }
        }
        
    }
}
